runtime.workType.nproc (field)
8 uses
runtime (current package)
mgc.go#L384: nproc uint32
mgc.go#L1725: work.nproc = ^uint32(0)
mgc.go#L1928: return work.nwait == work.nproc && !gcMarkWorkAvailable()
mgc.go#L1935: if decnwait == work.nproc {
mgc.go#L1936: println("runtime: work.nwait=", decnwait, "work.nproc=", work.nproc)
mgc.go#L1946: if incnwait > work.nproc {
mgc.go#L1947: println("runtime: work.nwait=", incnwait, "work.nproc=", work.nproc)
mgc.go#L1950: return incnwait == work.nproc && !gcMarkWorkAvailable()
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |